package com.anlogic.sdk.ui.tests.uc2.projectcreate.driverapp;
import static org.junit.Assert.*;
import org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot;
import org.eclipse.swtbot.forms.finder.SWTFormsBot;
import org.eclipse.swtbot.swt.finder.utils.SWTBotPreferences;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import com.anlogic.sdk.ui.tests.utils.DriverAppUtitls;
import com.anlogic.sdk.ui.tests.utils.WorkspaceUtils;
public class Dr1m90_PS_DRIVER_DMACAHB_Test {
	private static SWTWorkbenchBot bot;
	private static SWTFormsBot fbot;
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
		bot = new SWTWorkbenchBot();
		fbot=new SWTFormsBot();
		bot.sleep(2000);
		SWTBotPreferences.TIMEOUT = 10000;
SWTBotPreferences.PLAYBACK_DELAY = 500;

	}

	@Before
	public void setUp() throws Exception {
		WorkspaceUtils.resetworkbench(bot);
	}
	@After
	public void tearDown() throws Exception {
		WorkspaceUtils.cleanWorkspace();
	}
	@Test
	public void dr1m90_DMACAHB_LLP_MODE_BLOCKED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "64-bit", "DMACAHB_LLP_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_LLP_MODE_BLOCKED_core0_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "32-bit", "DMACAHB_LLP_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_LLP_MODE_BLOCKED_core1_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "32-bit", "DMACAHB_LLP_MODE_BLOCKED",10);
	}

	@Test
	public void dr1m90_DMACAHB_LLP_MODE_BLOCKED_core1_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "64-bit", "DMACAHB_LLP_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_BLOCKED_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "64-bit", "DMACAHB_SINGLE_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_BLOCKED_core0_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "32-bit", "DMACAHB_SINGLE_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_BLOCKED_core1_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "32-bit", "DMACAHB_SINGLE_MODE_BLOCKED",10);
	}

	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_BLOCKED_core1_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "64-bit", "DMACAHB_SINGLE_MODE_BLOCKED",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_NONBLOCK_core0_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "64-bit", "DMACAHB_SINGLE_MODE_NONBLOCK",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_NONBLOCK_core0_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-0", "32-bit", "DMACAHB_SINGLE_MODE_NONBLOCK",10);
	}


	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_NONBLOCK_core1_32_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "32-bit", "DMACAHB_SINGLE_MODE_NONBLOCK",10);
	}

	@Test
	public void dr1m90_DMACAHB_SINGLE_MODE_NONBLOCK_core1_64_Ttest() throws InterruptedException {
		DriverAppUtitls.driverAppTest(bot, fbot, "apu-1", "64-bit", "DMACAHB_SINGLE_MODE_NONBLOCK",10);
	}

}
